package com.itshidu.game.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itshidu.game.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jack.Xia
 * @since 2019-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("g_hero_item")
public class HeroItem extends BaseEntity {

    private static final long serialVersionUID=1L;

    private Integer heroId;

    private Integer itemId;

    private Integer quantity;   //数量


    @TableField(exist = false)
    private Hero _hero;
    @TableField(exist = false)
    private Item _item;
}
